package com.sihan.framework.etm.entity.baseData;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.framework.mybatis.annotation.AutoGenerator;
import com.framework.mybatis.enums.IdType;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@Table(name = "jdx_etm_device_coordinate_history")
public class DeviceCoordinateRecordModel implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.AUTO)
    @AutoGenerator(idType = IdType.UUID32)
    private String id;

    private String deviceId;

    private Double lng;

    private Double lat;

    private String lngLat;

    private Date createTime;

    private BigDecimal voltage;

    private Integer sendCount;
    //
    private BigDecimal temperature;

    private BigDecimal height;
    //定位精度
    private Integer positionalAccuracy;

}
